import matplotlib.pyplot as plt
import pandas as pd
import config

pathvar = config.PathVar()
excel = pd.read_excel(pathvar.resultTwoExcel)
excel.set_index(['Unnamed: 0'], inplace=True)
values = excel['Converge A'] + excel['Converge I'] + excel['Converge R']
values.plot()
values.to_excel(pathvar.resultTwoFinal)
plt.show()
